<?php

echo $sql = "SELECT COUNT(*) FROM ams_product";
$rs = mysql_query($sql);

echo $row[0];



